<?php

namespace app\models\user\gs;

use Yii;

/**
 * This is the model class for table "{{%users_zhengjianshangchuan_gs}}".
 *
 * @property int $id
 * @property int|null $uid 和用户uid对应
 * @property string|null $xingxiangzhao 形象照
 * @property string|null $shenfenzhengzhengmian 身份证正面
 * @property string|null $shenfenzhengfanmian 身份证反面
 * @property string|null $jiangzhuang 奖状照
 * @property string|null $jiehunzheng 结婚证
 * @property string|null $jiashizheng 驾驶证
 * @property string|null $zuzhijiegoudaimazhao 组织结构代码照
 * @property string|null $yingyezhizhao 营业执照
 * @property string|null $shuiwudengjizheng 税务登记证
 * @property string|null $zulinhetongzhao 租赁合同照
 * @property string|null $geleixukezheng 各类许可证
 * @property string|null $geleirongyu 各类荣誉
 * @property string|null $fangchanzheng 房产证
 * @property int $created_at 创建时间
 */
class Users_zhengjianshangchuan_gsModel extends \app\models\BaseUserModel
{
    /**
     * {@inheritdoc}
     */
    public static function tableName()
    {
        return '{{%users_zhengjianshangchuan_gs}}';
    }

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            [['uid', 'time'], 'integer'],
            [['xingxiangzhao', 'shenfenzhengzhengmian', 'shenfenzhengfanmian', 'jiangzhuang', 'jiehunzheng', 'jiashizheng', 'zuzhijiegoudaimazhao', 'yingyezhizhao', 'shuiwudengjizheng', 'zulinhetongzhao', 'geleixukezheng', 'geleirongyu', 'fangchanzheng'], 'string', 'max' => 255],
            [['uid'], 'unique'],
        ];
    }

    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'uid' => 'Uid',
            'xingxiangzhao' => '形象照',
            'shenfenzhengzhengmian' => '身份证正面照',
            'shenfenzhengfanmian' => '身份证反面照',
            'jiangzhuang' => '奖状照',
            'jiehunzheng' => '结婚证',
            'jiashizheng' => '驾驶证',
            'zuzhijiegoudaimazhao' => '组织结构代码照',
            'yingyezhizhao' => '营业执照',
            'shuiwudengjizheng' => '税务登记证',
            'zulinhetongzhao' => '租赁合同照',
            'geleixukezheng' => '各类许可证',
            'geleirongyu' => '各类荣誉',
            'fangchanzheng' => '房产证',
            'time' => 'Created At',
        ];
    }
}
